// vite.config.ts
import { defineConfig, loadEnv } from "file:///D:/vscode%E6%8F%92%E4%BB%B6%E5%BC%80%E5%8F%91/%E4%BB%BF%E7%9C%9F%E6%B5%8B%E8%AF%95%E5%B9%B3%E5%8F%B0/simulation-admin/node_modules/.pnpm/vite@5.4.0_@types+node@22.1.0_sass@1.77.8/node_modules/vite/dist/node/index.js";
import vue from "file:///D:/vscode%E6%8F%92%E4%BB%B6%E5%BC%80%E5%8F%91/%E4%BB%BF%E7%9C%9F%E6%B5%8B%E8%AF%95%E5%B9%B3%E5%8F%B0/simulation-admin/node_modules/.pnpm/@vitejs+plugin-vue@5.1.2_vite@5.4.0_@types+node@22.1.0_sass@1.77.8__vue@3.5.13_typescript@5.5.4_/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import path from "path";
import AutoImport from "file:///D:/vscode%E6%8F%92%E4%BB%B6%E5%BC%80%E5%8F%91/%E4%BB%BF%E7%9C%9F%E6%B5%8B%E8%AF%95%E5%B9%B3%E5%8F%B0/simulation-admin/node_modules/.pnpm/unplugin-auto-import@0.18.2_@vueuse+core@10.11.1_vue@3.5.13_typescript@5.5.4___rollup@4.20.0/node_modules/unplugin-auto-import/dist/vite.js";
import Components from "file:///D:/vscode%E6%8F%92%E4%BB%B6%E5%BC%80%E5%8F%91/%E4%BB%BF%E7%9C%9F%E6%B5%8B%E8%AF%95%E5%B9%B3%E5%8F%B0/simulation-admin/node_modules/.pnpm/unplugin-vue-components@0.27.3_@babel+parser@7.25.3_rollup@4.20.0_vue@3.5.13_typescript@5.5.4_/node_modules/unplugin-vue-components/dist/vite.js";
import { ElementPlusResolver } from "file:///D:/vscode%E6%8F%92%E4%BB%B6%E5%BC%80%E5%8F%91/%E4%BB%BF%E7%9C%9F%E6%B5%8B%E8%AF%95%E5%B9%B3%E5%8F%B0/simulation-admin/node_modules/.pnpm/unplugin-vue-components@0.27.3_@babel+parser@7.25.3_rollup@4.20.0_vue@3.5.13_typescript@5.5.4_/node_modules/unplugin-vue-components/dist/resolvers.js";
import Icons from "file:///D:/vscode%E6%8F%92%E4%BB%B6%E5%BC%80%E5%8F%91/%E4%BB%BF%E7%9C%9F%E6%B5%8B%E8%AF%95%E5%B9%B3%E5%8F%B0/simulation-admin/node_modules/.pnpm/unplugin-icons@0.19.2_@vue+compiler-sfc@3.5.13_vue-template-compiler@2.7.15/node_modules/unplugin-icons/dist/vite.js";
import IconsResolver from "file:///D:/vscode%E6%8F%92%E4%BB%B6%E5%BC%80%E5%8F%91/%E4%BB%BF%E7%9C%9F%E6%B5%8B%E8%AF%95%E5%B9%B3%E5%8F%B0/simulation-admin/node_modules/.pnpm/unplugin-icons@0.19.2_@vue+compiler-sfc@3.5.13_vue-template-compiler@2.7.15/node_modules/unplugin-icons/dist/resolver.js";
import { createSvgIconsPlugin } from "file:///D:/vscode%E6%8F%92%E4%BB%B6%E5%BC%80%E5%8F%91/%E4%BB%BF%E7%9C%9F%E6%B5%8B%E8%AF%95%E5%B9%B3%E5%8F%B0/simulation-admin/node_modules/.pnpm/vite-plugin-svg-icons@2.0.1_vite@5.4.0_@types+node@22.1.0_sass@1.77.8_/node_modules/vite-plugin-svg-icons/dist/index.mjs";
import UnoCSS from "file:///D:/vscode%E6%8F%92%E4%BB%B6%E5%BC%80%E5%8F%91/%E4%BB%BF%E7%9C%9F%E6%B5%8B%E8%AF%95%E5%B9%B3%E5%8F%B0/simulation-admin/node_modules/.pnpm/unocss@0.61.9_postcss@5.2.18_rollup@4.20.0_vite@5.4.0_@types+node@22.1.0_sass@1.77.8_/node_modules/unocss/dist/vite.mjs";
import glsl from "file:///D:/vscode%E6%8F%92%E4%BB%B6%E5%BC%80%E5%8F%91/%E4%BB%BF%E7%9C%9F%E6%B5%8B%E8%AF%95%E5%B9%B3%E5%8F%B0/simulation-admin/node_modules/.pnpm/vite-plugin-glsl@1.4.0_rollup@4.20.0_vite@5.4.0_@types+node@22.1.0_sass@1.77.8_/node_modules/vite-plugin-glsl/src/index.js";
var __vite_injected_original_dirname = "D:\\vscode\u63D2\u4EF6\u5F00\u53D1\\\u4EFF\u771F\u6D4B\u8BD5\u5E73\u53F0\\simulation-admin";
var pathSrc = path.resolve(__vite_injected_original_dirname, "src");
var vite_config_default = defineConfig(({ mode }) => {
  const env = loadEnv(mode, process.cwd());
  return {
    resolve: {
      alias: {
        "@": pathSrc
      }
    },
    css: {
      preprocessorOptions: {
        scss: {
          javascriptEnabled: true,
          additionalData: `@use "@/styles/variables.scss" as *;`
        }
      }
    },
    plugins: [
      vue(),
      glsl(),
      AutoImport({
        imports: ["vue"],
        eslintrc: {
          enabled: true,
          filepath: "./.eslintrc-auto-import.json"
        },
        dts: path.resolve(pathSrc, "types", "auto-imports.d.ts")
      }),
      Components({
        resolvers: [
          ElementPlusResolver(),
          IconsResolver({
            enabledCollections: ["ep"]
          })
        ],
        dts: path.resolve(pathSrc, "types", "components.d.ts")
      }),
      Icons({
        autoInstall: true
      }),
      createSvgIconsPlugin({
        iconDirs: [path.resolve(process.cwd(), "src/assets/icons")],
        symbolId: "icon-[dir]-[name]"
      }),
      UnoCSS({
        /* options */
      })
    ],
    base: "./",
    server: {
      host: "0.0.0.0",
      open: true,
      port: 5174
      /*    proxy:{
           '/api':{
             target:"http://192.168.5.71:8895",
             changeOrigin:true,
             rewrite:(path)=>path.replace(/^\/api/,''),
           }
         } */
    }
  };
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJEOlxcXFx2c2NvZGVcdTYzRDJcdTRFRjZcdTVGMDBcdTUzRDFcXFxcXHU0RUZGXHU3NzFGXHU2RDRCXHU4QkQ1XHU1RTczXHU1M0YwXFxcXHNpbXVsYXRpb24tYWRtaW5cIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3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